package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "report")
public class Report implements Serializable {
    private ObjectId id;    //报告id
    private Long userId;    //用户id
    private ObjectId questionnaireId; //问卷id
    private String conclusion;  //鉴定结果
    private Double score; //问卷得分
    private String cover;   //封面
    private Integer level;  //问卷级别
    private String gender; //性别
    private Long created;   //创建时间
    private Long updated;   //更新时间

}
